.dialog-wrap { position: fixed; left: 0; top: 0; z-index: 100001; width: 100%; height: 100%; }
.dialog-overlay { position: absolute; top: 0; left: 0; z-index: 100002; width: 100%; height: 100%; background: #000; opacity: 0; filter: alpha(opacity=0); -webkit-transition: all ease-in-out 0.15s; transition: all ease-in-out 0.15s; }
.dialog-content {
	position: absolute; top: 50%; left: 50%; z-index: 100003; width: 85%; background-color: #FAFAFC; text-align: center; border-radius: 5px; opacity: 0; filter: alpha(opacity=0);	
	-webkit-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0); -webkit-transition: all ease-in-out 0.15s; transition:all ease-in-out 0.15s;
}
.dialog-content-animate { -webkit-transform: translate3d(-50%, -50%, 0) scale3d(0.9, 0.9, 0.9); transform: translate3d(-50%, -50%, 0) scale3d(0.9, 0.9, 0.9); }
.dialog-content-hd { padding: 15px 0 0; margin-bottom: -5px; }
.dialog-content-title { margin: 0; padding: 0; font-weight: 400; font-size: 17px; line-height: 1.2; }
.dialog-content-bd { padding: 0 15px 0; margin-top: 15px; font-size: 15px; color: #666; word-wrap: break-word; word-break: break-all; text-align: left; -webkit-overflow-scrolling: touch; }
.dialog-content-bd p { margin: 5px 0; }
.dialog-content-ft { 
	position: relative;  margin-top: 15px; overflow: hidden; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
}
.dialog-content-ft .dialog-btn {
	margin: 0; padding: 0; text-decoration: none; outline: none; border: none; -webkit-appearance: none; background-color: transparent;
	position: relative; display: block; color: #0079ff; line-height: 43px; font-size: 16px; font-weight: 400;
	-webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-select: none;
}
.dialog-content-ft .dialog-btn:hover, .dialog-content-ft .dialog-btn:active { background-color: #eee; }
.dialog-content-ft:after {
	content: " "; position: absolute; left: 0; top: 0; width: 100%; height: 1px; border-top: 1px solid #D5D5D6; color: #D5D5D6;
	-webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: scaleY(0.5); transform: scaleY(0.5);
}
.dialog-content-ft .dialog-btn:after {
	content: " "; position: absolute; left: 0; top: 0; width: 1px; height: 100%; border-left: 1px solid #D5D5D6; color: #D5D5D6;
	-webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform: scaleX(0.5); transform: scaleX(0.5);
}
.dialog-content-ft .dialog-btn:first-child { border-bottom-left-radius: 5px; }
.dialog-content-ft .dialog-btn:last-child { border-bottom-right-radius: 5px; }
.dialog-content-ft .dialog-btn:first-child:after { border-left: none; }
.dialog-content-ft .dialog-btn-cancel { color: #0079ff; }
.dialog-content-ft .dialog-btn-ok { color: #0079ff; }

.dialog-wrap-info .dialog-overlay { background-color: transparent; opacity: 0; filter: alpha(opacity=0); }
.dialog-content-info { width: auto; text-align: center; background-color: rgba(0, 0, 0, 0.8); border-radius: 10px; }
.dialog-content-info .dialog-content-bd { padding: 0; margin: 0; position: relative; width: 140px; height: 140px; color: #fff; text-align: center; }
.dialog-content-info .dialog-content-bd .info-icon { max-width: 48px; margin: 20% 0 0; }
.dialog-content-info .dialog-content-bd .info-text { position: absolute; width: 100%; left: 0; bottom: 20px; margin: 0; font-size: 16px; white-space:nowarp; }

.dialog-wrap-tips .dialog-overlay { background-color: transparent; opacity: 0; filter: alpha(opacity=0); }
.dialog-content-tips { width: auto; text-align: center; background-color: rgba(0, 0, 0, 0.9); border-radius: 5px; }
.dialog-content-tips .dialog-content-bd { padding: 10px 16px; margin: 0; position: relative; color: #fff; text-align: center; line-height: 1.2; font-size: 14px; }
.dialog-content-tips .dialog-content-bd .info-icon { max-width: 16px; margin-right: 7px; vertical-align: middle; }
.dialog-content-tips .dialog-content-bd .info-text { position: relative; top: 1px; white-space:nowarp; } 


.dialog-wrap-show .dialog-overlay { opacity:0.6; filter:alpha(opacity=60); }
.dialog-wrap-show .dialog-content { opacity:1; filter:alpha(opacity=100); }
.dialog-wrap-show .dialog-content-animate { -webkit-transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1); transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1); }


@media screen and (min-width: 1024px) {
  .dialog-content { max-width: 45%; }
}